package com.wnxy.sddfp.system.api;

import com.wnxy.sddfp.common.model.vo.UserInfoVo;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.PathVariable;

/**
 * @author yellow Docter
 * @date 2024 -04-23
 * @desc
 */
@FeignClient(value = "sddfp-system-service")
public interface UserApi {

    @GetMapping("user/find/info/{userId}")
    UserInfoVo findUserById(@PathVariable("userId") String userId);

}
